package com.ly.dao;

import com.ly.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface UserDao{
    void insert(User user);
    void updateById(User user);
    User selectById(Integer id);
    List<User> selectAll(User user);
    void deleteById(Integer id);
    User selectByUserAndPassword(User userQuery);
    void delBatchByIds(@Param("ids") List<Integer> ids);
}
